
Partial Class Client_frmLogout
    Inherits System.Web.UI.Page
    Dim _bo As New Bo()
    Dim _UserId As String
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        _bo.DeleteCartDetail()
        _bo.DeleteCartMaster()

        Session.Abandon()
        'Session.Clear()
        'Session.Contents.RemoveAll()

        'Session.Clear()
        FormsAuthentication.SignOut()
        Response.Cache.SetCacheability(HttpCacheability.NoCache)

        Response.Redirect("frmLogin.aspx")
        Response.ExpiresAbsolute = DateTime.Now.AddDays(-1D)
        Response.Expires = -1500
    End Sub
End Class
